//
//  UIImage+Circle.h
//  MobileGameLiving2
//
//  Created by reflection on 15/9/2.
//  Copyright (c) 2015年 李旭东. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Circle)
/*
 根据指定图片的文件名获取一张圆形的图片并加边框
 borderWidth 边框的宽
 borderColor 边框的颜色
*/
+ (UIImage *)circleImageWithName:(NSString *)name borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor;

+ (UIImage *)circleImageWithImage:(UIImage *)image borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor;

+ (UIImage *)scaleToSize:(UIImage *)image size:(CGSize)size;
@end
